@echo off
set myDataDir=E:\Geth\data\ethereum\myDataDir
if exist "%myDataDir%" (
    echo Deleting data directory...
    rmdir /s /q "%myDataDir%"
    echo Data directory deleted successfully.
) else (
    echo Data directory does not exist.
)